package com.leco.demo.dubbo.provider.service;

import com.alibaba.dubbo.config.annotation.Service;
import com.leco.demo.dubbo.api.service.HelloRemoteService;
import com.leco.demo.dubbo.biz.service.HelloService;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @author greg
 * @version 2022/9/28
 **/
@Service
public class HelloRemoteServiceImpl implements HelloRemoteService {

    @Autowired
    private HelloService helloService;

    @Override
    public String hello() {
        return helloService.hello();
    }
}
